package 栈;

import java.util.List;
import java.util.Stack;

public class Test {
    public static void main(String[] args) {
        myStack<Integer> myStack=new myStack<>();
        myStack.push(12);
        myStack.push(34);
        myStack.push(56);
        System.out.println(myStack.pop());
        myStack.push(99);
        System.out.println(myStack.peek());
        System.out.println(myStack.size());
    }
}
